#ifndef JLexer_h
#define JLexer_h
/*
 * D L G L e x e r  C l a s s  D e f i n i t i o n
 *
 * Generated from: parser.dlg
 *
 * 1989-1999 by  Will Cohen, Terence Parr, and Hank Dietz
 * Purdue University Electrical Engineering
 * DLG Version 1.33MR20
 */


#include "DLexerBase.h"

class JLexer : public DLGLexerBase {
public:
public:
	static const int MAX_MODE;
	static const int DfaStates;
	static const int START;
	static const int COMMENT_LINE;
	static const int COMMENT_MULTI;
	static const int CONST_STRING;
	static const int CONST_CHAR;
	typedef unsigned short DfaState;

	JLexer(DLGInputStream *in,
		unsigned bufsize=2000)
		: DLGLexerBase(in, bufsize, 0)
	{
	;
	}
	void	  mode(int);
	ANTLRTokenType nextTokenType(void);
	void     advance(void);
protected:
	ANTLRTokenType act1();
	ANTLRTokenType act2();
	ANTLRTokenType act3();
	ANTLRTokenType act4();
	ANTLRTokenType act5();
	ANTLRTokenType act6();
	ANTLRTokenType act7();
	ANTLRTokenType act8();
	ANTLRTokenType act9();
	ANTLRTokenType act10();
	ANTLRTokenType act11();
	ANTLRTokenType act12();
	ANTLRTokenType act13();
	ANTLRTokenType act14();
	ANTLRTokenType act15();
	ANTLRTokenType act16();
	ANTLRTokenType act17();
	ANTLRTokenType act18();
	ANTLRTokenType act19();
	ANTLRTokenType act20();
	ANTLRTokenType act21();
	ANTLRTokenType act22();
	ANTLRTokenType act23();
	ANTLRTokenType act24();
	ANTLRTokenType act25();
	ANTLRTokenType act26();
	ANTLRTokenType act27();
	ANTLRTokenType act28();
	ANTLRTokenType act29();
	ANTLRTokenType act30();
	ANTLRTokenType act31();
	ANTLRTokenType act32();
	ANTLRTokenType act33();
	ANTLRTokenType act34();
	ANTLRTokenType act35();
	ANTLRTokenType act36();
	ANTLRTokenType act37();
	ANTLRTokenType act38();
	ANTLRTokenType act39();
	ANTLRTokenType act40();
	ANTLRTokenType act41();
	ANTLRTokenType act42();
	ANTLRTokenType act43();
	ANTLRTokenType act44();
	ANTLRTokenType act45();
	ANTLRTokenType act46();
	ANTLRTokenType act47();
	ANTLRTokenType act48();
	ANTLRTokenType act49();
	ANTLRTokenType act50();
	ANTLRTokenType act51();
	ANTLRTokenType act52();
	ANTLRTokenType act53();
	ANTLRTokenType act54();
	ANTLRTokenType act55();
	ANTLRTokenType act56();
	ANTLRTokenType act57();
	ANTLRTokenType act58();
	ANTLRTokenType act59();
	ANTLRTokenType act60();
	ANTLRTokenType act61();
	ANTLRTokenType act62();
	ANTLRTokenType act63();
	ANTLRTokenType act64();
	ANTLRTokenType act65();
	ANTLRTokenType act66();
	ANTLRTokenType act67();
	ANTLRTokenType act68();
	ANTLRTokenType act69();
	ANTLRTokenType act70();
	ANTLRTokenType act71();
	ANTLRTokenType act72();
	ANTLRTokenType act73();
	ANTLRTokenType act74();
	ANTLRTokenType act75();
	ANTLRTokenType act76();
	ANTLRTokenType act77();
	ANTLRTokenType act78();
	ANTLRTokenType act79();
	ANTLRTokenType act80();
	ANTLRTokenType act81();
	ANTLRTokenType act82();
	ANTLRTokenType act83();
	ANTLRTokenType act84();
	ANTLRTokenType act85();
	ANTLRTokenType act86();
	ANTLRTokenType act87();
	ANTLRTokenType act88();
	ANTLRTokenType act89();
	ANTLRTokenType act90();
	ANTLRTokenType act91();
	ANTLRTokenType act92();
	ANTLRTokenType act93();
	ANTLRTokenType act94();
	ANTLRTokenType act95();
	ANTLRTokenType act96();
	ANTLRTokenType act97();
	ANTLRTokenType act98();
	ANTLRTokenType act99();
	ANTLRTokenType act100();
	ANTLRTokenType act101();
	ANTLRTokenType act102();
	ANTLRTokenType act103();
	ANTLRTokenType act104();
	ANTLRTokenType act105();
	ANTLRTokenType act106();
	ANTLRTokenType act107();
	ANTLRTokenType act108();
	ANTLRTokenType act109();
	ANTLRTokenType act110();
	ANTLRTokenType act111();
	ANTLRTokenType act112();
	ANTLRTokenType act113();
	ANTLRTokenType act114();
	ANTLRTokenType act115();
	ANTLRTokenType act116();
	ANTLRTokenType act117();
	ANTLRTokenType act118();
	ANTLRTokenType act119();
	ANTLRTokenType act120();
	ANTLRTokenType act121();
	ANTLRTokenType act122();
	ANTLRTokenType act123();
	ANTLRTokenType act124();
	ANTLRTokenType act125();
	ANTLRTokenType act126();
	ANTLRTokenType act127();
	ANTLRTokenType act128();
	ANTLRTokenType act129();
	ANTLRTokenType act130();
	ANTLRTokenType act131();
	ANTLRTokenType act132();
	ANTLRTokenType act133();
	ANTLRTokenType act134();
	static DfaState st0[64];
	static DfaState st1[64];
	static DfaState st2[64];
	static DfaState st3[64];
	static DfaState st4[64];
	static DfaState st5[64];
	static DfaState st6[64];
	static DfaState st7[64];
	static DfaState st8[64];
	static DfaState st9[64];
	static DfaState st10[64];
	static DfaState st11[64];
	static DfaState st12[64];
	static DfaState st13[64];
	static DfaState st14[64];
	static DfaState st15[64];
	static DfaState st16[64];
	static DfaState st17[64];
	static DfaState st18[64];
	static DfaState st19[64];
	static DfaState st20[64];
	static DfaState st21[64];
	static DfaState st22[64];
	static DfaState st23[64];
	static DfaState st24[64];
	static DfaState st25[64];
	static DfaState st26[64];
	static DfaState st27[64];
	static DfaState st28[64];
	static DfaState st29[64];
	static DfaState st30[64];
	static DfaState st31[64];
	static DfaState st32[64];
	static DfaState st33[64];
	static DfaState st34[64];
	static DfaState st35[64];
	static DfaState st36[64];
	static DfaState st37[64];
	static DfaState st38[64];
	static DfaState st39[64];
	static DfaState st40[64];
	static DfaState st41[64];
	static DfaState st42[64];
	static DfaState st43[64];
	static DfaState st44[64];
	static DfaState st45[64];
	static DfaState st46[64];
	static DfaState st47[64];
	static DfaState st48[64];
	static DfaState st49[64];
	static DfaState st50[64];
	static DfaState st51[64];
	static DfaState st52[64];
	static DfaState st53[64];
	static DfaState st54[64];
	static DfaState st55[64];
	static DfaState st56[64];
	static DfaState st57[64];
	static DfaState st58[64];
	static DfaState st59[64];
	static DfaState st60[64];
	static DfaState st61[64];
	static DfaState st62[64];
	static DfaState st63[64];
	static DfaState st64[64];
	static DfaState st65[64];
	static DfaState st66[64];
	static DfaState st67[64];
	static DfaState st68[64];
	static DfaState st69[64];
	static DfaState st70[64];
	static DfaState st71[64];
	static DfaState st72[64];
	static DfaState st73[64];
	static DfaState st74[64];
	static DfaState st75[64];
	static DfaState st76[64];
	static DfaState st77[64];
	static DfaState st78[64];
	static DfaState st79[64];
	static DfaState st80[64];
	static DfaState st81[64];
	static DfaState st82[64];
	static DfaState st83[64];
	static DfaState st84[64];
	static DfaState st85[64];
	static DfaState st86[64];
	static DfaState st87[64];
	static DfaState st88[64];
	static DfaState st89[64];
	static DfaState st90[64];
	static DfaState st91[64];
	static DfaState st92[64];
	static DfaState st93[64];
	static DfaState st94[64];
	static DfaState st95[64];
	static DfaState st96[64];
	static DfaState st97[64];
	static DfaState st98[64];
	static DfaState st99[64];
	static DfaState st100[64];
	static DfaState st101[64];
	static DfaState st102[64];
	static DfaState st103[64];
	static DfaState st104[64];
	static DfaState st105[64];
	static DfaState st106[64];
	static DfaState st107[64];
	static DfaState st108[64];
	static DfaState st109[64];
	static DfaState st110[64];
	static DfaState st111[64];
	static DfaState st112[64];
	static DfaState st113[64];
	static DfaState st114[64];
	static DfaState st115[64];
	static DfaState st116[64];
	static DfaState st117[64];
	static DfaState st118[64];
	static DfaState st119[64];
	static DfaState st120[64];
	static DfaState st121[64];
	static DfaState st122[64];
	static DfaState st123[64];
	static DfaState st124[64];
	static DfaState st125[64];
	static DfaState st126[64];
	static DfaState st127[64];
	static DfaState st128[64];
	static DfaState st129[64];
	static DfaState st130[64];
	static DfaState st131[64];
	static DfaState st132[64];
	static DfaState st133[64];
	static DfaState st134[64];
	static DfaState st135[64];
	static DfaState st136[64];
	static DfaState st137[64];
	static DfaState st138[64];
	static DfaState st139[64];
	static DfaState st140[64];
	static DfaState st141[64];
	static DfaState st142[64];
	static DfaState st143[64];
	static DfaState st144[64];
	static DfaState st145[64];
	static DfaState st146[64];
	static DfaState st147[64];
	static DfaState st148[64];
	static DfaState st149[64];
	static DfaState st150[64];
	static DfaState st151[64];
	static DfaState st152[64];
	static DfaState st153[64];
	static DfaState st154[64];
	static DfaState st155[64];
	static DfaState st156[64];
	static DfaState st157[64];
	static DfaState st158[64];
	static DfaState st159[64];
	static DfaState st160[64];
	static DfaState st161[64];
	static DfaState st162[64];
	static DfaState st163[64];
	static DfaState st164[64];
	static DfaState st165[64];
	static DfaState st166[64];
	static DfaState st167[64];
	static DfaState st168[64];
	static DfaState st169[64];
	static DfaState st170[64];
	static DfaState st171[64];
	static DfaState st172[64];
	static DfaState st173[64];
	static DfaState st174[64];
	static DfaState st175[64];
	static DfaState st176[64];
	static DfaState st177[64];
	static DfaState st178[64];
	static DfaState st179[64];
	static DfaState st180[64];
	static DfaState st181[64];
	static DfaState st182[64];
	static DfaState st183[64];
	static DfaState st184[64];
	static DfaState st185[64];
	static DfaState st186[64];
	static DfaState st187[64];
	static DfaState st188[64];
	static DfaState st189[64];
	static DfaState st190[64];
	static DfaState st191[64];
	static DfaState st192[64];
	static DfaState st193[64];
	static DfaState st194[64];
	static DfaState st195[64];
	static DfaState st196[64];
	static DfaState st197[64];
	static DfaState st198[64];
	static DfaState st199[64];
	static DfaState st200[64];
	static DfaState st201[64];
	static DfaState st202[64];
	static DfaState st203[64];
	static DfaState st204[64];
	static DfaState st205[64];
	static DfaState st206[64];
	static DfaState st207[64];
	static DfaState st208[64];
	static DfaState st209[64];
	static DfaState st210[64];
	static DfaState st211[64];
	static DfaState st212[64];
	static DfaState st213[64];
	static DfaState st214[64];
	static DfaState st215[64];
	static DfaState st216[64];
	static DfaState st217[64];
	static DfaState st218[64];
	static DfaState st219[64];
	static DfaState st220[64];
	static DfaState st221[64];
	static DfaState st222[64];
	static DfaState st223[64];
	static DfaState st224[64];
	static DfaState st225[64];
	static DfaState st226[64];
	static DfaState st227[64];
	static DfaState st228[64];
	static DfaState st229[64];
	static DfaState st230[64];
	static DfaState st231[64];
	static DfaState st232[64];
	static DfaState st233[64];
	static DfaState st234[64];
	static DfaState st235[64];
	static DfaState st236[64];
	static DfaState st237[64];
	static DfaState st238[64];
	static DfaState st239[64];
	static DfaState st240[64];
	static DfaState st241[64];
	static DfaState st242[64];
	static DfaState st243[64];
	static DfaState st244[64];
	static DfaState st245[64];
	static DfaState st246[64];
	static DfaState st247[64];
	static DfaState st248[64];
	static DfaState st249[64];
	static DfaState st250[64];
	static DfaState st251[64];
	static DfaState st252[64];
	static DfaState st253[64];
	static DfaState st254[64];
	static DfaState st255[64];
	static DfaState st256[64];
	static DfaState st257[64];
	static DfaState st258[64];
	static DfaState st259[64];
	static DfaState st260[64];
	static DfaState st261[64];
	static DfaState st262[64];
	static DfaState st263[64];
	static DfaState st264[64];
	static DfaState st265[64];
	static DfaState st266[64];
	static DfaState st267[64];
	static DfaState st268[64];
	static DfaState st269[64];
	static DfaState st270[64];
	static DfaState st271[64];
	static DfaState st272[64];
	static DfaState st273[64];
	static DfaState st274[64];
	static DfaState st275[64];
	static DfaState st276[64];
	static DfaState st277[64];
	static DfaState st278[64];
	static DfaState st279[64];
	static DfaState st280[64];
	static DfaState st281[64];
	static DfaState st282[64];
	static DfaState st283[64];
	static DfaState st284[64];
	static DfaState st285[64];
	static DfaState st286[64];
	static DfaState st287[64];
	static DfaState st288[64];
	static DfaState st289[64];
	static DfaState st290[64];
	static DfaState st291[64];
	static DfaState st292[64];
	static DfaState st293[64];
	static DfaState st294[64];
	static DfaState st295[64];
	static DfaState st296[64];
	static DfaState st297[64];
	static DfaState st298[64];
	static DfaState st299[64];
	static DfaState st300[64];
	static DfaState st301[64];
	static DfaState st302[64];
	static DfaState st303[64];
	static DfaState st304[64];
	static DfaState st305[64];
	static DfaState st306[64];
	static DfaState st307[64];
	static DfaState st308[64];
	static DfaState st309[64];
	static DfaState st310[64];
	static DfaState st311[64];
	static DfaState st312[64];
	static DfaState st313[64];
	static DfaState st314[64];
	static DfaState st315[64];
	static DfaState st316[64];
	static DfaState st317[64];
	static DfaState st318[64];
	static DfaState st319[64];
	static DfaState st320[5];
	static DfaState st321[5];
	static DfaState st322[5];
	static DfaState st323[5];
	static DfaState st324[5];
	static DfaState st325[5];
	static DfaState st326[7];
	static DfaState st327[7];
	static DfaState st328[7];
	static DfaState st329[7];
	static DfaState st330[7];
	static DfaState st331[7];
	static DfaState st332[7];
	static DfaState st333[7];
	static DfaState st334[6];
	static DfaState st335[6];
	static DfaState st336[6];
	static DfaState st337[6];
	static DfaState st338[6];
	static DfaState st339[6];
	static DfaState st340[6];
	static DfaState st341[6];
	static DfaState st342[4];
	static DfaState st343[4];
	static DfaState st344[4];
	static DfaState st345[4];
	static DfaState *dfa[346];
	static DfaState dfa_base[];
	static unsigned char *b_class_no[];
	static DfaState accepts[347];
	static DLGChar alternatives[347];
	static ANTLRTokenType (JLexer::*actions[135])();
	static unsigned char shift0[257];
	static unsigned char shift1[257];
	static unsigned char shift2[257];
	static unsigned char shift3[257];
	static unsigned char shift4[257];
	int ZZSHIFT(int c) { return b_class_no[automaton][1+c]; }
//
// 133MR1 Deprecated feature to allow inclusion of user-defined code in DLG class header
//
#ifdef DLGLexerIncludeFile
#include DLGLexerIncludeFile
#endif
};
typedef ANTLRTokenType (JLexer::*PtrJLexerMemberFunc)();
#endif
